package com.impak.infoot.domain.application

/**
* @author nzouabi
*
*/
class LineupSchema {
	
	Integer defense
	
	Integer midfield
	
	Integer offense

	static constraints = {
		defense min:0, max : 10, nullable:false
		midfield min:0, max : 10, nullable:false
		offense min:0, max : 10, nullable:false
	}
	
	@Override
	public String toString() {
		"${defense}-${midfield}-${offense}"
	}
	
}
